2008-07-22 Tor Lillqvist <tml@novell.com>
* configure.in: Workaround for what apparently is a bug in MSYS:
returning -1 from main() is misinterpreted as exit status 0, so
make sure we return 0 or 1.
svn path=/trunk/; revision=20895
+2008-07-22 Tor Lillqvist <tml@novell.com>
+
+ * configure.in: Workaround for what apparently is a bug in MSYS:
+ returning -1 from main() is misinterpreted as exit status 0, so
+ make sure we return 0 or 1.
+
2008-07-22 Sven Herzberg <sven@imendio.com>
Add a test for my fixes from July 20th.
{
char *content_type;
content_type = g_content_type_guess (NULL, data, data_size, NULL);
- return strcmp (content_type, "image/png");
+ return !!strcmp (content_type, "image/png");
}]])],
[gio_can_sniff=yes
AC_DEFINE(GDK_PIXBUF_USE_GIO_MIME, 1, [Define if gio can sniff image data])],